package com.dkm.orproject.dkmoa.dao;

import com.dkm.orproject.dkmoa.domain.OaInform;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OaInformMapper {
    int deleteByPrimaryKey(Long fkInformId);

    int insert(OaInform record);

    int insertSelective(OaInform record);

    OaInform selectByPrimaryKey(Long fkInformId);

    int updateByPrimaryKeySelective(OaInform record);

    int updateByPrimaryKey(OaInform record);

    int insertAll(@Param("list") List<OaInform> informs);

    int deleteByIds(@Param("list") List<Long> personnelIds, @Param("pkEntryId") Long pkEntryId);

    int updatedInform(@Param("pkMessageId") Long pkMessageId,@Param("pkPersonnelId") Long pkPersonnelId);
}